package pri.ydy.educenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author: YeDongYong
 * @Date:2020/12/22
 * @Content:
 */
@SpringBootApplication
@EnableDiscoveryClient  //Nacos注册
@ComponentScan({"pri.ydy"})
@MapperScan("pri.ydy.educenter.mapper")
public class UcenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class,args);
    }
}
